<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>无标题文档</title>
</head>

<body >
<table width="100%" height="700" border="1">
	<input type="button" name="hello" onClick="hello()">
  <tr>
    <td width="50%">
    	<div onscroll="hello()">
			<iframe name="iframe1" height="700" src="/rmweb/RmUserAction.do?cmd=queryAll" ></iframe>    	
    	</div>
	</td>
    <td width="50%">
		<iframe name="iframe2" height="700" src="/rmweb/RmUserAction.do?cmd=queryAll"></iframe>
	</td>
  </tr>
</table>
</body>
</html>

<script type="text/javascript">

	function hello() {
		alert("iframe1.document.body.scrollTop=" + iframe1.document.body.scrollTop);
		var a = 0;
		iframe2.document.body.scrollTop = 350;
	}
</script>
